.weather {
  padding: 10px;
  background: #ededf5;

  .life_weather {
    width: 90%;
    height: 300px;
    margin: 20px auto;
    padding-top: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

    h2 {
      text-align: left;
      color: #ededf5;
      padding-left: 10px;
      font-size: 15px;
    }

    h3 {
      text-align: center;
      color: #ededf5;
    }

    .life_weather_du {
      width: 100%;
      height: 50px;
      display: flex;
      color: #ededf5;
      margin-bottom: 40px;
      margin-top: 35px;

      .life_weather_left {
        width: 50%;
        height: 50px;
        font-size: 60px;
        text-align: right;
        line-height: 40px;
      }

      .life_weather_right {
        width: 50%;
        height: 50px;
        padding-left: 5px;

        b {
          display: block;
        }
      }
    }

    .life_weather_duhsu {
      width: 60px;
      height: 20px;
      border-radius: 5px;
      background: rgb(113, 156, 236);
      margin: 10px auto;
      color: #ededf5;
      text-align: center;
      line-height: 20px;
    }
  }

  // 其他天气数据
  .life_weather_data {
    width: 90%;
    height: 250px;
    margin: 5px auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;

    .life_weather_data_li {
      width: 23%;
      height: 250px;
      list-style-type: none;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
      border-radius: 5px;
      background: #ededf5;
      padding-top: 20px;

      h4 {
        text-align: center;
        color: #ededf5;
      }

      .life_weather_duhsu {
        width: 60px;
        height: 20px;
        border-radius: 5px;
        background: rgb(113, 156, 236);
        margin: 10px auto;
        color: #ededf5;
        text-align: center;
        line-height: 20px;
      }
    }
  }

  .rain {
    // 下雨天的背景图
    background: url('https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1593858562316&di=0b69c3eea573514964f4be789543ed44&imgtype=0&src=http%3A%2F%2Fimgbdb3.bendibao.com%2Fdgbdb%2F20164%2F22%2F201642284021347.gif') !important;
  }

  .cloud {
    // 多云的背景图
    background: url('http://5b0988e595225.cdn.sohucs.com/images/20180226/a0342cf1d22c42a8971c30fdc9642ac1.gif') !important;
  }

  .Fine {
    // 晴天得到背景图
    background: url('http://img5.imgtn.bdimg.com/it/u=1349649468,4045725759&fm=26&gp=0.jpg') !important;
  }

  .weather_top {
    width: 90%;
    display: flex;
    margin: 0 auto;

    .weather_input {
      width: 60%;
      height: 40px;
      font-size: 16px;
    }

    .weather_botton {
      width: 100px;
      height: 40px;
    }
  }
}